// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently

#pragma once


void    TraceCOMError(long hRet);



#include "dmalgo.h"

#ifdef _DEBUG
	#include <crtdbg.h>
	#define ATLASSERT(expr) _ASSERTE(expr)
#else
	#define ATLASSERT(expr) 
#endif

#define ATLENSURE		ATLASSERT


#include "AtlComPtr.h"
extern DWORD    CONTEXT_TLS_SLOT;
extern DWORD    CONTEXTREF_TLS_SLOT;


#include "DMPluginServices.h"
#include "DMErrorHandling.h"



